@import 'mixin.css';
/*文字************************************************/
/*字体*/
.h7 {
  font-size: 12px;
}

.h6 {
  font-size: 14px;
}

.h5 {
  font-size: 16px;
}

.h4 {
  font-size: 20px;
}

.h3 {

}

.h2 {
  font-size: 50px;
}

.h1 {
  font-size: 65px;
}

/* 禁止选择文本 */
.no-select {
  user-select: none;
}

/* 超出...隐藏 */
.g-ft--wrap {
  text-align: justify;
  text-justify: newspaper;
  word-break: break-all;
}

/*布局**************************************************/
/* 流式网格布局 */
.flex-grid--row, .flex-grid--column {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  height: 100%;
  width: 100%;
}

/*----横排*/
.flex-grid--row {
  flex-direction: row;
}

/*----纵排*/
.flex-grid--column {
  flex-direction: column;
}

/* 不换行等分 */
.flex-row-between, .flex-column-between {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.flex-row-between {
  width: 100%;
}

.flex-column-between {
  flex-direction: column;
  height: 100%;
}

/*容器**************************************************/

/*组件**************************************************/
.g-btn {
  border: 1px solid rgb(255, 255, 255, 0);
  text-align: center;
  cursor: pointer;
}

.g-btn--hide { /* 禁用状态 */
  pointer-events: none;
  filter: grayscale(100%);
  opacity: 0.5;
}

.g-btn--nohide { /* 覆盖禁用状态 */
  pointer-events: all;
  filter: grayscale(0);
  opacity: 1;
}

.g-btn-img {

}

.g-btn-title {
}

.g-btn:hover {
  border: 1px solid rgba(140, 187, 236);
  background: rgba(140, 187, 236, 0.36);
}

.g-btn:active, .g-btn-active {
  border: 1px solid rgba(140, 187, 236);
  background: rgba(140, 187, 236, 0.9);
}


/*装饰**************************************************/
/*右上角缺角*/
.box-decorate:before {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #F3F5F6;
  content: '';
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  border-color: transparent;
  border-style: solid;
  border-width: 5px;
}

/* 右侧竖线 */
.g-line--l, .g-line--r {
  position: relative;
}

.g-line--l:before {
  content: '';
  display: block;
  position: absolute;
  right: 100%;
  top: 25%;
  left: 0;
  border-right: 1px solid #ccc;
  width: 1px;
  height: 50%;
}

.g-line--r:before {
  content: '';
  display: block;
  position: absolute;
  /*left: 100%;*/
  top: 25%;
  right: 0;
  border-right: 1px solid #ccc;
  width: 1px;
  height: 50%;
}

/* 侧边三角 */
.g-select--b:after,
.g-select--r:after {
  content: '';
  width: 0;
  margin: 0 auto;
  border: 4px solid rgba(140, 187, 236, 0);
}

.g-select--r:after {
  display: inline-block;
  border-left: 4px solid black;
}

.g-select--b:after {
  display: block;
  border-top: 4px solid black;
}

/*鼠标滑过变灰*******/
.g-hashouver {
  cursor: pointer;
  filter: grayscale(20%);
}

.g-hashouver:hover {
  filter: grayscale(0);
}

.g-hashouver-active {
  filter: grayscale(20%);
}

/*其他*******************************/

.g-ft--nowrap {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 变形 */
.rotateZ90 {
  transform: rotateZ(90deg);
}